﻿using FarmSmartSleep.Common.Domain.AubitFile;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FarmSmartSleep.Common.Dtos
{
    public class EwePregnancyCheckRecordDto : Aubuit
    {
        public int EwePregnancyCheckRecordId { get; set; }
        /// <summary>
        /// 负责人姓名
        /// </summary>
        public string Leader { get; set; }

        /// <summary>
        /// 妊娠检查的日期
        /// </summary>
        public DateTime PregnancyTestDate { get; set; }

        /// <summary>
        /// 羊只的耳号
        /// </summary>
        public string EweName { get; set; }
        public int EarNo { get; set; }

        /// <summary>
        /// 妊娠检查结果（如：怀孕、不怀孕）
        /// </summary>
        public int PregnancyTestResult { get; set; }

        /// <summary>
        /// 妊娠检查方式（如：B超、触诊）
        /// </summary>
        public int PregnancyTestMethod { get; set; }

        /// <summary>
        /// 同胎数
        /// </summary>
        public int LitterCount { get; set; }

        /// <summary>
        /// 妊娠天数（从配种到当前天数）
        /// </summary>
        public int PregnancyDays { get; set; }

        /// <summary>
        /// 当前所在的栋舍
        /// </summary>
        public string CurrentBarn { get; set; }

        /// <summary>
        /// 当前栋舍
        /// </summary>
        public int CurrentBarnId { get; set; }
        /// <summary>
        /// 当前所在的栏位
        /// </summary>
        public string CurrentPen { get; set; }
        /// <summary>
        /// 当前所在的栏位Id
        /// </summary>
        public int CurrentPenId { get; set; }

        /// <summary>
        /// 转入的栋舍
        /// </summary>
        public string TransferBarn { get; set; }
        
        /// <summary>
        /// 转入的栏位
        /// </summary>
        public string TransferPen { get; set; }
        /// <summary>
        /// 转入的栏位
        /// </summary>
        public int TransferPenId { get; set; }

        /// <summary>
        /// 转入栋舍
        /// </summary>
        public int TransferBarnId { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public int Notes { get; set; }

        /// <summary>
        /// 单据号
        /// </summary>
        public string DocumentNo { get; set; }

        /// <summary>
        /// 妊检的流水号
        /// </summary>
        public string SerialNo { get; set; }
        /// <summary>
        /// 妊检方法名称
        /// </summary>
        public string? PregnancyCheckMethodName { get; set; }
        public string? PregnancyTestResultName { get; set; }
        public string EarNumber {  get; set; }
    }
}
